package com.bootdo.appsystem.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.appsystem.dao.UserauthsDao;
import com.bootdo.appsystem.domain.UserauthsDO;
import com.bootdo.appsystem.service.UserauthsService;



@Service
public class UserauthsServiceImpl implements UserauthsService {
	@Autowired
	private UserauthsDao userauthsDao;
	
	@Override
	public UserauthsDO get(Integer authsid){
		return userauthsDao.get(authsid);
	}
	
	@Override
	public List<UserauthsDO> list(Map<String, Object> map){
		return userauthsDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return userauthsDao.count(map);
	}
	
	@Override
	public int save(UserauthsDO userauths){
		return userauthsDao.save(userauths);
	}
	
	@Override
	public int update(UserauthsDO userauths){
		return userauthsDao.update(userauths);
	}
	
	@Override
	public int remove(Integer authsid){
		return userauthsDao.remove(authsid);
	}
	
	@Override
	public int batchRemove(Integer[] authsids){
		return userauthsDao.batchRemove(authsids);
	}
	
}
